package com.responsibilitychain.self;

public class Client {
    public static void main(String[] args) {
        Budget budget = new Budget(1,0,11000);
        Leader leader = new Leader("校长","王");
        Subordinate subordinate = new Subordinate("院长","子");
        leader.setInspector(subordinate);
        subordinate.setInspector(leader);
        subordinate.handleBudget(budget);
    }
}
